package com.liuwei.msmall.product.feign;

import com.liuwei.msmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Classname WareFeignService
 * @Date 2021/4/10 4:31 下午
 * @Created by llww
 */
@FeignClient(value = "msmall-ware-service")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasStock")
    R getHasStock(@RequestBody List<Long> skuids);
}
